package cn.ssm.service;

import cn.ssm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public User login(String username, String password);

    List<User> getUsers(User user);

    User getUserByBid( Integer id);

    int addUser(User user);

    int updateUser(User user);

    int deteleUserByBid( Integer id);

    int updatemm(@Param("username") String username,@Param("password") String password);
    User mm(String password);
    User selectmm(@Param("username") String username);
    int addzc(@Param("username") String username,@Param("pwd") String pwd);

}
